<template>
  <div class="nav_top">
    <div class="left">
      <img src="/img/logo.jpg" alt="" class="logo" />
      <ul class="ul_left">
        <li>OPPO产品</li>
        <li>一加产品</li>
        <li>关于OPPO</li>
        <li>ColorOS</li>
      </ul>
    </div>
    <ul class="ul_right">
      <li>官方商城</li>
      <li>服务</li>
      <li>企业业务</li>
      <li>
        <input type="text" placeholder="搜索OPPO" />
      </li>
      <li>用户</li>
      <li>购物袋</li>
    </ul>
  </div>
</template>

<style scoped lang="scss">
.nav_top {
  height: 52px;
  display: flex;
  padding: 0 60px;
  justify-content: space-between;
  border-bottom: 1px solid #f0f0f0;
  .left {
    width: 50%;
    height: 52px;
    display: flex;
    align-items: center;
    .logo {
      width: 100px;
      height: 30px;
      margin-right: 36px;
    }
    .ul_left {
      display: flex;
      width: 340px;
      // background-color: orange;
      justify-content: space-between;
      align-items: center;
      line-height: 52px;
      li {
        margin: 0 10px;
        font-size: 14px;
        color: #969696;
      }
      li:hover {
        color: #000;
      }
    }
  }
  .ul_right {
    // width: 504px;
    position: relative;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    li {
      margin: 0 10px;
      font-size: 14px;
      color: #969696;
      input {
        width: 210px;
        height: 40px;
        border-radius: 30px;
        outline: none;
        text-indent: 20px;
        border: 1px solid #ccc;
        font-size: 14px;
      }
    }
    li:hover {
      color: #000;
    }
  }
}
</style>
